import request from '@/utils/request';

/**
 *
 * @param {*} showCount
 * @param {*} currentPage
 *
 */
export const getMyInviteList = ({ showCount, currentPage, userInfo, income_sort, zhuceTime, lastLoginTime }) => {
  return request.post('/yaoQing/myYaoQingList', {
    showCount,
    currentPage,
    userInfo,
    income_sort,
    zhuceTime,
    lastLoginTime,
  });
};

// 获取下级列表
export const getLowerLevelList = ({ showCount, currentPage }) => {
  return request.get('/yaoQing/lowerLevelList', {
    params: {
      showCount,
      currentPage,
    },
  });
};

/**
 *
 */
export const getMiniWPERCode = ({ page, token }) => {
  return request.post('/newHuoDongHm/getSmallCodeInviter1', {
    page,
    token,
  });
};
